package mypackage;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;

public class DateTest {

    public static void main(String[] args) throws ParseException {
        String strDate = "30-Nov-2021 15:14";
        Date parse = new SimpleDateFormat("dd-MMM-yyyy HH:mm",Locale.ENGLISH).parse(strDate);
        System.out.println(parse.toLocaleString());
    }
}
